import 'package:aero_frisbee/app/model/cache_bind_video_model/cache_bind_video_model.dart';
import 'package:freezed_annotation/freezed_annotation.dart';

part 'af_short_link_model.freezed.dart';
part 'af_short_link_model.g.dart';

@freezed
class AfShortLinkModel with _$AfShortLinkModel {
  factory AfShortLinkModel({
    String? mediaType,
    String? mediaPath,
    String? thumbUrl,
    String? middleThumbUrl,
    String? mediaUrl,
    String? title,
    @Default(false) bool isLike,
    CacheBindVideoModel? cacheBind,
  }) = _AfShortLinkModel;

  factory AfShortLinkModel.fromJson(Map<String, dynamic> json) =>
      _$AfShortLinkModelFromJson(json);
}
